<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    
</body>
<script>
    
    var str = "abcabccccd  @/#_$q124waaAAh\nbbcc.%_^..&*815frAAA  #$____%^..&*  ta71/cba\\g";
    console.log(str);

    // console.log(str.replace("a", "啊"));
    // console.log(str.replace(/a/, "啊"));
    // console.log(str.replace(/f/, "啊"));
    // console.log(str.replace(/a/g, "啊"));
    // console.log(str.replace(/a/ig, "啊"));
    // console.log(str.replace(/a/gi, "啊"));
    // console.log(str.replace(/a+/gi, "啊"));
    // console.log(str.replace(/abc/gi, "啊"));
    // console.log(str.replace(/abc+/gi, "啊"));
    // console.log(str.replace(/(abc)+/gi, "啊"));
    // console.log(str.replace(/a|b|c/gi, "啊"));
    // console.log(str.replace(/a|b|c+/gi, "啊"));
    // console.log(str.replace(/(a|b|c)+/gi, "啊"));
    // console.log(str.replace(/[abc]/gi, "啊"));
    // console.log(str.replace(/[abc]+/gi, "啊"));
    // console.log(str.replace(/[a-z]+/gi, "啊"));
    // console.log(str.replace(/[0-9]+/gi, "啊"));
    // console.log(str.replace(/\d+/gi, "啊"));
    // console.log(str.replace(/\w+/gi, "啊"));
    // console.log(str.replace(/[^0-9]+/gi, "啊"));
    // console.log(str.replace(/\D+/gi, "啊"));
    // console.log(str.replace(/\W+/gi, "啊"));
    // console.log(str.replace(/[^0-9a-z_]+/gi, "啊"));
    // console.log(str.replace(/\s+/gi, "啊"));
    // console.log(str.replace(/\S+/gi, "啊"));
    // console.log(str.replace(/.+/gi, "啊"));
    // console.log(str.replace(/\.+/gi, "啊"));
    // console.log(str.replace(/\+/gi, "啊"));
    // console.log(str.replace(/\\+/gi, "啊"));








</script>
</html>